/*设置版心*/
.container {
    width: 1200px;
    margin: 0 auto;
}

.active {
    color: #43240c;
    background-color: #fee44e;
}

body {
    background-color: #f3efef;

}

/*---------------------------------------------------*/
/*顶部搜索*/
#herder {
    height: 160px;
    width: 100%;
    background-color: white;
    color: #877a73;

    .container {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

}


/*logo区域*/
#herder .herder_logo {
    margin-left: 20px;

    a {
        display: flex;

        img {
            width: 75px;
            height: 75px;
            float: left;
        }

        .logoFont {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            p {
                color: #43240c;
                font-size: 28px;
                line-height: 40px;
                font-weight: 600;
            }

            span {
                display: inline-block;
                font-size: 12px;
                line-height: 16px;
                transform: scale(.8);
                /*缩放0.8*/
                color: #43240c;
            }
        }
    }


}

/*搜索区域*/
#herder .herder_search {
    height: 46px;
    border: 2px solid #000;
    display: flex;
    border-radius: 34px;
    background: url(../static/images/search.png) no-repeat 10px 10px;
    background-size: 5%;


    input {
        width: 350px;
        margin-left: 50px;
        font-size: 16px;
        color: #43200c;
    }

    .searchBtn {
        width: 120px;
        height: 42px;
        margin: 2px 2px 2px;
        background-color: #fee44e;
        font-size: 16px;
        font-weight: 400px;
        color: #43200c;
        text-align: center;
        line-height: 38px;
        border-radius: 34px;
        cursor: pointer;
    }
}

/*优势图标*/
#herder .herder_advantage {
    width: 180px;
    height: 60px;
    margin-right: 40px;

    ul {
        height: 100%;
        display: flex;
        justify-content: space-between;

        li {
            width: 50px;
            height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;

            img {
                width: 40px;
                height: 40px;
            }

            p {
                font-size: 12px;
                line-height: 12px;

            }
        }
    }
}
//我的购物车
#herder .getCart {
    color: black;
    .myCart {
        margin: 0 auto;
        cursor: pointer;
        width: 100px;
        font-size: 16px;
        font-weight: bold;
        line-height: 40px;
        text-align: center;
        background-color: #f8cd8d;
        border: 1px solid #afadad;
        border-radius: 35px;
    }

}

/*---------------------------------------------------*/
/*nav*/
#nav {
    min-width: 1200px;
    height: 45px;
    background-color: #43240c;
    color: #fff;

    ul {
        display: flex;

        li {
            cursor: pointer;
            width: 160px;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            line-height: 45px;

            &:nth-child(1) {
                width: 220px;
            }

            &:hover {
                @extend .active;
            }
        }
    }
}

/*---------------------------------------------------*/
/*内容区*/
#main {
    min-width: 1200px;

    .container {
        .home {
            display: flex;
            flex-direction: column;


        }
    }
}

// 首页主图区
#main .indexBanner {
    height: 370px;
    position: relative;
    display: flex;
}

// 商品分类列表
#main .classification {
    &:hover .specificList {
        display: block;
    }

    .classification_ul {
        width: 220px;
        background-color: #fcf9e3;
        cursor: pointer;

        li {
            height: 41px;
            line-height: 41px;
            text-align: center;

            &:hover {
                background-color: #fff;
            }

            &:hover p {
                color: red;
            }

            .classificationItem {
                display: inline-block;
                font-size: 14px;
                min-width: 77px;
                color: #43200c;
                position: relative;

                img {
                    position: absolute;
                    top: 50%;
                    left: -25px;
                    height: 20px;
                    transform: translateY(-50%);
                }

                p {
                    display: inline-block;
                    margin-right: -5px;
                    margin-left: -5px;

                }
            }

        }
    }

    .specificList {
        width: 230px;
        height: 369px;
        box-sizing: border-box;
        padding: 21px 22px;
        background-color: #fff;
        position: absolute;
        z-index: 3;
        left: 220px;
        top: 0;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        display: none;

        img {
            width: 50px;
            margin-top: 130px;
            margin-left: 70px;
        }

        .sidebar-panel-item1,
        .sidebar-panel-item2 {
            font-size: 12px;
            text-align: left;
            color: #a79c95;
            margin-bottom: 30px;



            ul {
                display: flex;
                flex-wrap: wrap;

                li:nth-child(1) {
                    width: 100%;
                    line-height: 17px;
                    border-bottom: 1px solid #e7e7ee;
                    font-size: 14px;
                    font-weight: bolder;

                }

                li {
                    margin: 13px 4px 0;
                    height: 17px;
                    line-height: 17px;
                    width: auto;
                }
            }

        }
    }
}

// 宣传图
#main .banner-content {
    flex: 1;
    height: 369px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .banner-content-top {
        display: flex;
        justify-content: space-between;

        .sliderItem {
            width: 660px;
            height: 234px;
            cursor: pointer;

            img {
                width: 660px;
                height: 234px;
            }
        }

        .banner-top-right {
            width: 296px;
            color: #ff5817;
            background-color: #fff4e4;
            position: relative;
            cursor: pointer;

            h3 {
                position: absolute;
                z-index: 2;
                top: 32px;
                left: 14px;
                font-size: 24px;
            }

            div {
                position: absolute;
                padding-left: 16px;
                width: 160px;
                z-index: 3;
                top: 76px;
                left: 0;
                font-size: 18px;
                line-height: 36px;
                color: #fff;
                background: url(../static/images/picture06.png) no-repeat;
            }

            img {
                position: absolute;
                z-index: 0;
                right: 20px;
                bottom: 0;
                height: 134px;
            }
        }
    }

    .banner-content-bottom {
        display: flex;
        justify-content: space-between;
        height: 128px;

        .banner-bottom-item1 {
            width: 257px;
            height: 86px;
            padding: 26px 34px 16px;
            font-size: 18px;
            color: #fff;
            background: linear-gradient(270deg, #ffd1dd, #dca6c0);
            border-radius: 18px;
            cursor: pointer;
            position: relative;

            h3 {
                font-size: 22px;
                font-weight: 600;
            }

            p {
                font-size: 18px;
            }

            span {
                color: #fca6c0;
                display: block;
                margin-top: 11px;
                width: 47px;
                font-size: 14px;
                line-height: 20px;
                text-align: center;
                background-color: #fff;
                border-radius: 10px;
            }

            img {
                position: absolute;
                right: 20px;
                bottom: 0;
                height: 134px;
            }
        }

        .banner-bottom-item2 {
            width: 257px;
            height: 86px;
            padding: 26px 34px 16px;
            font-size: 18px;
            color: #fff;
            cursor: pointer;
            background: linear-gradient(270deg, #fffffe, #fec07e);
            border-radius: 18px;
            position: relative;

            h3 {
                font-size: 22px;
                font-weight: 600;
            }

            p {
                font-size: 18px;
            }

            span {
                color: #fca6c0;
                display: block;
                margin-top: 11px;
                width: 47px;
                font-size: 14px;
                line-height: 20px;
                text-align: center;
                background-color: #fff;
                border-radius: 10px;
            }

            img {
                position: absolute;
                right: 20px;
                bottom: 0;
                height: 134px;
            }
        }

        .banner-bottom-item3 {
            width: 263px;
            height: 93px;
            padding: 35px 0 0 34px;
            font-size: 18px;
            color: #fff;
            cursor: pointer;
            background: linear-gradient(270deg, #e7f5ff, #afdcff);
            border-radius: 18px;
            position: relative;

            img {
                width: 100px;
                height: 100px;
                border: 8px solid #afdcff;
                border-radius: 18px;
                position: absolute;
                top: 14px;
                right: 20px;
                box-sizing: border-box;
            }
        }
    }
}

// 列表区标题
#main .title-bar {
    height: 60px;
    width: 1200px;
    line-height: 56px;
    background-color: white;
    margin: 10px 0 20px;

    h3 {
        display: inline-block;
        margin-left: 52px;
        font-size: 18px;
        font-weight: 500;
    }

    p {
        display: inline-block;
        margin-left: 30px;
        font-size: 14px;
        color: #877a73;
    }
}

// 切换区样式
#main .switchoverStyle {
    box-sizing: border-box;


    h1 {
        font-size: 24px;
        font-weight: 700;
        line-height: 56px;
        color: #43200c;
        background-color: #fef9dd;
        padding: 0 30px;
    }

    ul {
        display: block;
        box-sizing: border-box;
        margin: 6px auto 30px;
        font-size: 18px;
        color: #43200c;
        background-color: #fff;
        display: flex;
        overflow: hidden;
        width: 1200px;

        li {
            cursor: pointer;
            box-sizing: border-box;
            float: left;
            position: relative;
            margin: 0 0 0 16px;
            padding: 0 17px;
            font-size: 18px;
            font-weight: 500;
            text-align: center;
            line-height: 56px;
            color: #43240c;

            &:hover {
                box-shadow: inset 0 -3px 0 -1px currentColor;
            }
        }
    }
}

// 商品列表区
#main .choiceList {
    display: flex;
    flex-direction: column;

    .base-commodity-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 1200px;

        .base-commodity-list-item {
            width: 276px;
            height: 389px;
            display: block;
            background-color: #fff;
            margin-bottom: 22px;
            cursor: pointer;

            &:last-child {
                align-self: flex-start;
            }

            .productImage {
                width: 276px;
                height: 276px;
                overflow: hidden;

                img {
                    height: 100%;
                    width: 100%;
                }
            }

            .commodity-card-msg {
                padding: 10px 17px 17px;

                .commodity-card-title {
                    font-size: 14px;
                    line-height: 18px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    color: #877a73;
                }

                .commodity-card-keyword {
                    margin: 16px auto 0;
                    display: flex;
                    justify-content: space-between;
                    font-size: 14px;

                    .keyword {
                        background-color: #f40;
                        color: white;
                        border-radius: 2px;
                        padding: 0 6px;
                        font-size: 14px;
                    }

                    .free-postage {
                        width: 50px;
                        color: #877a73;
                    }
                }

                .commodity-card-foot {
                    margin-top: 14px;
                    height: 28px;
                    display: flex;
                    justify-content: space-between;

                    .left {
                        display: flex;
                        justify-content: space-between;

                        .price {
                            color: #fa585a;
                            font-weight: 400;
                            margin-right: 6px;

                            .price-tag {
                                display: inline-block;
                                font-size: 12px;
                                line-height: 12px;
                            }

                            .price-strong {
                                display: inline-block;
                                font-size: 28px;
                                line-height: 30px;
                            }

                            .digit {
                                display: inline-block;
                                font-size: 18px;
                                line-height: 20px;
                            }
                        }

                        .sale-num {
                            display: block;
                            font-size: 14px;
                            line-height: 40px;
                            color: #877a73;
                        }
                    }

                    .right {
                        height: 20px;
                        width: 50px;
                        font-size: 12px;
                        line-height: 20px;
                        color: #fa585a;
                        border-radius: 2px;
                        text-align: center;
                        box-shadow: inset 0 0 0 1px #fa585a;
                    }
                }
            }

        }
    }

}

/*---------------------------------------------------*/
// 加载更多按钮
#choice-more {
    margin-top: 126px;
    padding-bottom: 80px;

    .choice-more-btn {
        margin: 0 auto;
        cursor: pointer;
        width: 250px;
        font-size: 24px;
        font-weight: 500;
        line-height: 70px;
        text-align: center;
        background-color: #fee44e;
        border-radius: 35px;
    }

}

// 回到顶部按钮
#backTopBtn {
    cursor: pointer;
    position: fixed;
    right: 50px;
    bottom: 320px;
    display: none;

    img {
        width: 60px;
        height: 60px;
    }
}

/*---------------------------------------------------*/
// 底部通栏
#footer {
    min-width: 1200px;
    height: 190px;
    padding-top: 50px;
    background-color: #484848;
    color: #fff;

    .content {
        width: 1200px;
        height: 120px;
        display: flex;

        img {
            width: 112px;
            height: 112px;
            margin-right: 20px;
        }

        .title {
            text-align: center;
            margin-top: 14px;
            margin-right: 260px;

            h1 {
                font-size: 36px;
                font-weight: 600px;
            }

            p {
                font-size: 18px;
                font-weight: 500px;
                line-height: 25px;
            }
        }
    }

    .record {
        display: flex;
        margin-top: 40px;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            width: 22px;
            height: 22px;
            margin-left: 10px;
            margin-right: 10px;
        }

        p {
            line-height: 26px;
            font-size: 18px;
        }

        span {
            margin-left: 5px;
            margin-right: 5px;
        }
    }
}

// 底部下载APP按钮
#footer .content_top_right {
    p {
        font-size: 20px;
        line-height: 120px;

        span {
            margin-left: 20px;
            cursor: pointer;

            &:hover {
                color: #e95367;
            }
        }
    }
}

/*---------------------------------------------------*/
// 认证标识
#authenticationIcon {
    padding-bottom: 50px;
    text-align: center;

    a img {
        margin-top: 4px;
    }
}